Files
brewman-docker/docker-compose.yml

37 lines
534 B
YAML
Raw Normal View History

2016-01-30 09:55:16 +05:30
web:
restart: always
build: ./web
expose:
2016-01-31 14:03:28 +05:30
- "80"
2016-01-30 12:03:32 +05:30
ports:
2016-01-31 14:03:28 +05:30
- "6543:80"
2016-01-30 09:55:16 +05:30
links:
- postgres:postgres
volumes:
- /usr/src/app/static
environment:
DB_NAME: brew
2016-01-30 12:03:32 +05:30
DB_USER: brew
2016-01-30 09:55:16 +05:30
DB_PASS: 123456
SECRET_KEY: secret
nginx:
restart: always
2016-01-31 14:03:28 +05:30
build: ./nginx
2016-01-30 09:55:16 +05:30
ports:
2016-01-31 14:03:28 +05:30
- "8005:80"
2016-01-30 09:55:16 +05:30
links:
- web:web
postgres:
restart: always
2016-01-31 14:03:28 +05:30
build: ./postgres
2016-01-30 09:55:16 +05:30
volumes:
- pgdata:/var/lib/postgresql/data
expose:
- "5432"
environment:
POSTGRES_PASSWORD: 123456
POSTGRES_USER: postgres