fsaysset revised this gist . Go to revision
No changes
fsaysset revised this gist . Go to revision
1 file changed, 0 insertions, 0 deletions
gistfile1.txt renamed to dockerfile.yml
File renamed without changes
fsaysset revised this gist . Go to revision
1 file changed, 50 insertions
gistfile1.txt(file created)
@@ -0,0 +1,50 @@ | |||
1 | + | services: | |
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 |