-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.example.yml
45 lines (45 loc) · 1.2 KB
/
docker-compose.example.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
version: '3'
services:
swablu:
build: .
environment:
DISCORD_BOT_USER_TOKEN: "..."
DISCORD_GUILD_ID: "..."
DISCORD_ADMIN_ROLE: "..."
DISCORD_CHANNEL_HACKS: "..."
DISCORD_CHANNEL_FLOOR_GENERATOR_BOT: "..."
DISCORD_JAM_JURY_ROLE: "..."
MYSQL_HOST: db
MYSQL_PORT: "3306"
MYSQL_USER: root
MYSQL_PASSWORD: swablu
MYSQL_DATABASE: swablu
OAUTH2_CLIENT_ID: "..."
OAUTH2_CLIENT_SECRET: "..."
OAUTH2_REDIRECT_URI: "..."
MANAGED_HTACCESS_FILE: "/app/.htaccess"
BASE_URL: "..."
COOKIE_SECRET: "..."
PORT: 30321
ENABLE_DISCORD_WRITES: "1"
EOS_DUNGEONS_TILESET_PATH: "/app/dungeon_tiles"
depends_on:
- db
volumes:
- "/xyz/xyz/.htaccess:/app/.htaccess"
- "./dungeon_tiles:/app/dungeon_tiles"
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: swablu
MYSQL_DATABASE: swablu
volumes:
- "./db_data:/var/lib/mysql"
varnish:
image: ghcr.io/plopix/docker-varnish6/varnish6:latest
volumes:
- "./varnish.vcl/etc/varnish/default.vcl:ro"
ports:
- 30321:80