-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathdocker-compose-no-redis.yml
More file actions
48 lines (45 loc) · 1.18 KB
/
Copy pathdocker-compose-no-redis.yml
File metadata and controls
48 lines (45 loc) · 1.18 KB
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
# https://docs.4gaboards.com/docs/dev/install/docker-vars
services:
db:
image: postgres:18-alpine
restart: always
networks:
- boards-network
volumes:
- db-data-18:/var/lib/postgresql
environment:
POSTGRES_DB: 4gaBoards
POSTGRES_PASSWORD: notpassword
POSTGRES_INITDB_ARGS: '-A scram-sha-256'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres -d 4gaBoards']
interval: 5s
timeout: 5s
retries: 20
4gaBoards:
image: ghcr.io/rargames/4gaboards:latest
restart: always
networks:
- boards-network
volumes:
- user-avatars:/app/public/user-avatars
- project-background-images:/app/public/project-background-images
- attachments:/app/private/attachments
ports:
- 3000:1337
environment:
BASE_URL: http://localhost:3000
SECRET_KEY: notsecretkey
DATABASE_URL: postgresql://postgres:notpassword@db/4gaBoards
NODE_ENV: production
## Add optional 4ga Boards instance variables here
depends_on:
db:
condition: service_healthy
volumes:
user-avatars:
project-background-images:
attachments:
db-data-18:
networks:
boards-network: