docker: docker-compose: switch to version 3, call this houdini image
This commit is contained in:
parent
7013b9e6d9
commit
41ac73b00c
1 changed files with 5 additions and 3 deletions
|
@ -1,17 +1,19 @@
|
||||||
# License: CC0-1.0
|
# License: CC0-1.0
|
||||||
version: '2'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
build:
|
houdini:
|
||||||
|
container_name: houdini
|
||||||
build:
|
build:
|
||||||
context: ../..
|
context: ../..
|
||||||
dockerfile: docker/build/Dockerfile
|
dockerfile: docker/build/Dockerfile
|
||||||
|
image: houdini:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- memcached
|
- memcached
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_HOST=db
|
- DATABASE_HOST=db
|
||||||
volumes:
|
volumes:
|
||||||
- ../../:/myapp
|
- ../../:/houdini
|
||||||
db:
|
db:
|
||||||
image: postgres:12.0
|
image: postgres:12.0
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue