File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ composer.phar
4
4
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
5
5
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
6
6
# composer.lock
7
+ .env
Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
services :
3
- ads_warehouse :
4
- container_name : ads_warehouse
3
+ postgres :
4
+ container_name : ads_warehouse_postgres
5
+ image : postgres:alpine
6
+ env_file : ./.env
7
+ ports :
8
+ - " ${DOCKER_POSTGRES_PORT}:5432"
9
+
10
+ flyway :
11
+ container_name : ads_warehouse_flyway
12
+ image : flyway/flyway:latest-alpine
13
+ command : migrate
14
+ env_file : ./.env
15
+ volumes :
16
+ - ./src:/flyway/sql
17
+ depends_on :
18
+ - postgres
19
+
20
+ server :
21
+ container_name : ads_warehouse_server
5
22
image : leocavalcante/dwoole:dev
6
23
ports :
7
- - 8000 :8000
24
+ - " ${DOCKER_HTTP_PORT} :8000"
8
25
volumes :
9
26
- ./:/app
10
27
environment :
You can’t perform that action at this time.
0 commit comments