-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 804 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (29 loc) · 804 Bytes
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
30
31
services:
cipherlabs-web:
build: .
container_name: cipherlabs-web
ports:
- "192.168.1.30:8000:8000"
environment:
FLASK_ENV: production
SECRET_KEY: change-this-to-a-long-random-secret
POSTGRES_HOST: cipherlabs-db
POSTGRES_PORT: 5432
POSTGRES_DB: cipherlabs
POSTGRES_USER: cipherlab_user
POSTGRES_PASSWORD: change-this-db-password
depends_on:
- cipherlabs-db
restart: unless-stopped
cipherlabs-db:
image: postgres:16
container_name: cipherlabs-db
environment:
POSTGRES_DB: cipherlabs
POSTGRES_USER: cipherlab_user
POSTGRES_PASSWORD: change-this-db-password
volumes:
- cipherlabs-postgres-data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
cipherlabs-postgres-data: