prep for gitweb
[sketchy-heroes.git] / docker-compose.yml
1 version: '3'
2
3 services:
4   database:
5     image: 'postgres:latest'
6     ports:
7       - 5432:5432
8     environment:
9       POSTGRES_USER: root
10       POSTGRES_PASSWORD: root
11       POSTGRES_DB: sketchy_heroes
12     volumes:
13       - ./db-data/:/var/lib/postgresql/data
14   web:
15     image: nginx:latest
16     ports:
17       - "1567:80"
18     volumes:
19       - .:/app
20       - ./nginx.conf:/etc/nginx/conf.d/default.conf
21