-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 848 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (28 loc) · 848 Bytes
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
27
28
29
30
services:
sio_test:
user: app
build:
context: docker/php
args:
USER_ID: ${USER_ID:-1000}
ports:
- "8337:8337"
volumes:
- .:/app:rw
###> doctrine/doctrine-bundle ###
database:
build: docker/postgresql
shm_size: 128mb
environment:
POSTGRES_DB: ${POSTGRES_DB:-app}
POSTGRES_TEST_DB: ${POSTGRES_TEST_DB:-app_test}
# You should definitely change the password in production
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}
POSTGRES_USER: ${POSTGRES_USER:-app}
volumes:
- database_data:/var/lib/postgresql/data:rw
###< doctrine/doctrine-bundle ###
volumes:
###> doctrine/doctrine-bundle ###
database_data:
###< doctrine/doctrine-bundle ###