-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
39 lines (36 loc) · 1.28 KB
/
docker-compose.yaml
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
32
33
34
35
36
37
38
39
volumes:
database:
services:
app:
build: ./
image: kroeg
ports:
- 8080:8000
environment:
# This key is not used in production, don't worry
- ROCKET_SECRET_KEY=l0arkbZC8Uz48KEmeCfC3X9lmDMhoY1U6OzgUMm/pD8=
- ROCKET_LOG_LEVEL=NORMAL
- ROCKET_IMG_PROXY_DOMAIN=http://localhost:8081
- ROCKET_IMG_PROXY_KEY=5db8176951b21345c26e4b72552657b5c5b276ccd87fa934b2b58045a31b3e7f11f8711db217983e6cf7904b2f4b2c2b641aab29e20183a3aa3ffbe6b7c8de6f
- ROCKET_IMG_PROXY_SALT=a81d08ada89464d3bef5ee6e65b05e1dbf33712004ab33e04279c2fa16c47f930f969c6e12ce67fc1dbc91f06aa8d519c761e2accec7bb4524a501443aa843f6
db:
image: postgis/postgis:15-3.3
volumes:
- database:/var/lib/postgresql/data
restart: always
environment:
POSTGRES_PASSWORD: example
ports:
- 5432:5432
adminer:
image: adminer
restart: always
ports:
- 8000:8080
imgproxy:
image: darthsim/imgproxy:v3.25.0
ports:
- 8081:8080
environment:
IMGPROXY_KEY: 5db8176951b21345c26e4b72552657b5c5b276ccd87fa934b2b58045a31b3e7f11f8711db217983e6cf7904b2f4b2c2b641aab29e20183a3aa3ffbe6b7c8de6f
IMGPROXY_SALT: a81d08ada89464d3bef5ee6e65b05e1dbf33712004ab33e04279c2fa16c47f930f969c6e12ce67fc1dbc91f06aa8d519c761e2accec7bb4524a501443aa843f6