-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.staging.yml
26 lines (26 loc) · 1.07 KB
/
docker-compose.staging.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '3'
services:
tabroom:
container_name: mason-staging
build:
context: .
dockerfile: Dockerfile
image: mason-staging:latest
restart: always
ports:
- 9000:80
volumes:
- ${TABROOM_WEB:-/www/tabroom/web}:/www/tabroom/web:rw
- ${TABROOM_WEB_MASON:-/www/tabroom/web/mason}:/www/tabroom/web/mason:rw
- ${TABROOM_WEB_TMP:-/www/tabroom/web/tmp}:/www/tabroom/web/tmp:rw
- ${TABROOM_PROFILES:-/www/profiles}:/www/profiles:rw
- ${TABROOM_LOGS:-/var/log/apache2}:/var/log/apache2:rw
- ${TABROOM_GENERAL:-/etc/tabroom/General.pm}:/www/tabroom/web/lib/Tab/General.pm:ro
- ./conf/staging.tabroom.com.conf:/etc/apache2/sites-enabled/staging.tabroom.com.conf:ro
- ./conf/envvars:/etc/apache2/envvars:ro
- ./conf/apache2.conf:/etc/apache2/apache2.conf:ro
- ./conf/perl.conf:/etc/apache2/mods-enabled/perl.conf:ro
- ./conf/mpm_prefork.conf:/etc/apache2/mods-enabled/mpm_prefork.conf:ro
extra_hosts:
- "host.docker.internal:host-gateway"
- "api.staging.tabroom.com:host-gateway"