blob: d8ca3190e5901d0a37efdb15580587e305652c36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
version: "2"
services:
clog:
container_name: clog
image: clog:latest
build: .
ports:
- "8888:8888"
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_USER=${POSTGRES_USER}
depends_on:
- postgres
postgres:
container_name: clog-postgres
image: postgres:14-alpine
volumes:
- .vols/database:/var/lib/postgresql/data
ports:
- "5555:5432"
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_USER=${POSTGRES_USER}
|