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 # 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: