Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (40 sloc) 644 Bytes
web:
restart: always
build: ./web
expose:
- "8000"
links:
- postgres:postgres
volumes:
- ./web:/usr/src/app
env_file: .env
nginx:
restart: always
build: ./nginx/
ports:
- "80:80"
volumes_from:
- web
- probe
links:
- web:web
probe:
build: ./probe/
volumes:
- ./probe:/usr/src/probe
- ./probe:/workspace
data:
restart: always
image: postgres:latest
volumes:
- /var/lib/postgresql
command: "true"
postgres:
restart: always
image: postgres:latest
volumes_from:
- data
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "5432:5432"
You can’t perform that action at this time.