crablog/docker-compose.yml
2023-10-19 13:40:13 +04:00

26 lines
529 B
YAML

version: "3"
services:
crablog:
image: andreytkachenko/crablog
ports:
- "9999:8000"
environment:
DATABASE_URL: postgres://root:password@postgres/crablog
ROCKET_SECRET_KEY: Bqgzqe3zIg2siAS6IBUmL9/50GOW1xDBpxXZgSpFbyM=
depends_on:
- postgres
networks:
- backend
postgres:
image: postgres:9-alpine
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: password
POSTGRES_DB: crablog
networks:
- backend
networks:
backend: