-
Notifications
You must be signed in to change notification settings - Fork 4
/
stack.yml
55 lines (50 loc) · 1.14 KB
/
stack.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3.8"
name: celluloid-stack
volumes:
database:
storage:
services:
postgres:
image: postgres:13
ports:
- "5432:5432"
volumes:
- database:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: root
POSTGRES_DB: celluloid
celluloid:
image: celluloid-compact:latest
# build:
# context: .
# dockerfile: ./Dockerfile.compact
depends_on:
- postgres
ports:
- "8080:80"
environment:
DATABASE_URL: postgres://postgres:root@localhost:5432/celluloid
COOKIE_SECRET: changethistosecretcookie
COOKIE_DOMAIN: 127.0.0.1
COOKIE_SECURE: false
STORAGE_URL: http://localhost:9000
STORAGE_BUCKET: celluloid
STORAGE_ACCESS_KEY: root
STORAGE_SECRET_KEY: StrongPass2022
minio:
image: minio/minio
volumes:
- storage:/data
ports:
- "9000:9000"
environment:
MINIO_ROOT_USER: root
MINIO_ROOT_PASSWORD: StrongPass2022
command: server /data
restart: unless-stopped
redis:
image: redis:6-alpine
ports:
- "6379:6379"
restart: unless-stopped