Last active 1695736615

vikunja (to-do app) Docker compose

Revision 38b652fe2fb5bcde4c455377d253f4648de3c4d6

gistfile1.txt Raw
1services:
2 db:
3 image: mariadb:10
4 command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
5 environment:
6 MYSQL_ROOT_PASSWORD: supersecret
7 MYSQL_USER: vikunja
8 MYSQL_PASSWORD: secret
9 MYSQL_DATABASE: vikunja
10 volumes:
11 - /volume1/docker/vikunja/db:/var/lib/mysql
12 restart: unless-stopped
13 api:
14 image: vikunja/api
15 environment:
16 VIKUNJA_DATABASE_HOST: db
17 VIKUNJA_DATABASE_PASSWORD: secret
18 VIKUNJA_DATABASE_TYPE: mysql
19 VIKUNJA_DATABASE_USER: vikunja
20 VIKUNJA_DATABASE_DATABASE: vikunja
21 VIKUNJA_SERVICE_JWTSECRET: <JWTSECRET>
22 VIKUNJA_SERVICE_FRONTENDURL: https://vikunja.<domaine>.com/
23 VIKUNJA_SERVICE_TIMEZONE: Europe/Paris
24 PUID: 1026
25 PGID: 100
26 VIKUNJA_DEFAULTSETTINGS_LANGUAGE: fr
27 VIKUNJA_DEFAULTSETTINGS_WEEK_START: 1
28 VIKUNJA_MAILER_ENABLED: true
29 VIKUNJA_DEFAULTSETTINGS_EMAIL_REMINDERS_ENABLED: true
30 VIKUNJA_MAILER_HOST: <smtpServer>
31 VIKUNJA_MAILER_PORT: <port>
32 VIKUNJA_MAILER_AUTHTYPE: plain
33 VIKUNJA_MAILER_USERNAME: <mail@server.com>
34 VIKUNJA_MAILER_PASSWORD: <password>
35 VIKUNJA_MAILER_FROMEMAIL: <mail@server.com>
36 VIKUNJA_MAILER_FORCESSL: true
37 ports:
38 - 3456:3456
39 volumes:
40 - /volume1/docker/vikunja/files:/app/vikunja/files
41 depends_on:
42 - db
43 restart: unless-stopped
44 frontend:
45 image: vikunja/frontend
46 ports:
47 - 4321:80
48 environment:
49 VIKUNJA_API_URL: https://vikunja-api.<domaine>.com/api/v1
50 restart: unless-stopped