Skip to content
Permalink
39c1d21bd7
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
28 lines (28 sloc) 566 Bytes
version: '2'
services:
postgres:
container_name: sdp-smarthotels-pg
hostname: sdp-smarthotels-pg
image: sdp-smarthotels-pg
build: postgres/
ports:
- "5432:5432"
volumes:
- psql-data:/var/lib/postgresql/data
expose:
- 5432
environment:
POSTGRES_USER: docker
POSTGRES_PASSWORD: docker
web:
container_name: sdp-smarthotels
hostname: sdp-smarthotels
image: sdp-smarthotels
build: web/
ports:
- "8000:8000"
depends_on:
- postgres
volumes:
psql-data:
driver: local