2018-12-06 10:39:17 +04:00
|
|
|
version: "3"
|
|
|
|
services:
|
2023-10-13 18:11:23 +04:00
|
|
|
crablog:
|
|
|
|
image: andreytkachenko/crablog
|
2018-12-06 10:39:17 +04:00
|
|
|
ports:
|
|
|
|
- "9999:8000"
|
|
|
|
environment:
|
2023-10-13 18:11:23 +04:00
|
|
|
DATABASE_URL: postgres://root:password@postgres/crablog
|
2018-12-06 10:39:17 +04:00
|
|
|
ROCKET_SECRET_KEY: Bqgzqe3zIg2siAS6IBUmL9/50GOW1xDBpxXZgSpFbyM=
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:9-alpine
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: root
|
|
|
|
POSTGRES_PASSWORD: password
|
2023-10-13 18:11:23 +04:00
|
|
|
POSTGRES_DB: crablog
|
2018-12-06 10:39:17 +04:00
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
|
|
|
|
networks:
|
|
|
|
backend:
|