docker: docker-compose: switch to version 3, call this houdini image

This commit is contained in:
Bradley M. Kuhn 2021-08-08 14:16:23 -07:00
parent 7013b9e6d9
commit 41ac73b00c

View file

@ -1,17 +1,19 @@
# License: CC0-1.0
version: '2'
version: '3'
services:
build:
houdini:
container_name: houdini
build:
context: ../..
dockerfile: docker/build/Dockerfile
image: houdini:latest
depends_on:
- db
- memcached
environment:
- DATABASE_HOST=db
volumes:
- ../../:/myapp
- ../../:/houdini
db:
image: postgres:12.0
environment: