You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
366 B
21 lines
366 B
5 years ago
|
# docker-compose.yml
|
||
|
version: "3"
|
||
|
services:
|
||
|
server:
|
||
|
build: server
|
||
|
depends_on:
|
||
|
- postgres
|
||
|
ports:
|
||
|
- "3005:3005"
|
||
|
|
||
|
postgres:
|
||
|
image: postgres:10.4
|
||
|
restart: always
|
||
|
ports:
|
||
|
- "35432:5432"
|
||
|
volumes:
|
||
|
- ./postgres-data:/var/lib/postgresql/data
|
||
|
environment:
|
||
|
POSTGRES_USER: postgres
|
||
|
POSTGRES_DB: astronomy
|