Last active 2 months ago

Deflector5098 revised this gist 2 months ago. Go to revision

1 file changed, 1 deletion

compose.yml

@@ -5,7 +5,6 @@ services:
5 5 command: -c /config/cup.json serve -p 8000
6 6 init: true
7 7 volumes:
8 - - /home/tu-usuario/docker/dockge/stacks/cup/cup.json:/config/cup.json
9 8 - /var/run/docker.sock:/var/run/docker.sock
10 9 restart: unless-stopped
11 10 networks:

Deflector5098 revised this gist 2 months ago. Go to revision

1 file changed, 5 insertions

compose.yml

@@ -19,3 +19,8 @@ services:
19 19 networks:
20 20 proxy:
21 21 external: true
22 +
23 + x-dockge:
24 + urls:
25 + - https://cup.tuservidor.es
26 +

Deflector5098 revised this gist 2 months ago. Go to revision

No changes

Deflector5098 revised this gist 2 months ago. Go to revision

No changes

Deflector5098 revised this gist 2 months ago. Go to revision

1 file changed, 0 insertions, 0 deletions

gistfile1.txt renamed to compose.yml

File renamed without changes

Deflector5098 revised this gist 2 months ago. Go to revision

1 file changed, 21 insertions

gistfile1.txt(file created)

@@ -0,0 +1,21 @@
1 + services:
2 + cup:
3 + image: ghcr.io/sergi0g/cup
4 + container_name: cup
5 + command: -c /config/cup.json serve -p 8000
6 + init: true
7 + volumes:
8 + - /home/tu-usuario/docker/dockge/stacks/cup/cup.json:/config/cup.json
9 + - /var/run/docker.sock:/var/run/docker.sock
10 + restart: unless-stopped
11 + networks:
12 + - proxy
13 + labels:
14 + - traefik.enable=true
15 + - traefik.http.services.cup.loadbalancer.server.port=8000
16 + - traefik.http.routers.cup.entrypoints=https
17 + - traefik.http.routers.cup.rule=Host(`cup.tuservidor.es`)
18 + - traefik.http.routers.cup.middlewares=oidc-auth@file
19 + networks:
20 + proxy:
21 + external: true
Newer Older