Change docker-compose env variable

This commit is contained in:
gri38 2022-04-09 20:10:14 +02:00
parent 2a0a3cb79c
commit 4d25780c8c
2 changed files with 1 additions and 36 deletions

View File

@ -1,25 +0,0 @@
version: '3.4'
services:
certbot:
image: certbot/certbot:latest
depends_on:
- joplin-vieweb-nginx
volumes:
- certbot_www:/var/www/certbot/:rw
- certbot_conf:/etc/letsencrypt/:rw
joplin-vieweb-nginx:
build: ./joplin-vieweb-nginx
ports:
- 80:80
- 443:443
environment:
- server_name=guillot.fr.nf
volumes:
- certbot_www:/var/www/certbot/:ro
- certbot_conf:/etc/letsencrypt/:ro
volumes:
certbot_www:
certbot_conf:

View File

@ -6,31 +6,21 @@ services:
depends_on:
- joplin-terminal-xapi
command: ["sh", "-c", "pip install debugpy -t /tmp && python /tmp/debugpy --wait-for-client --listen 0.0.0.0:5678 manage.py runserver 0.0.0.0:8001 --nothreading --noreload"]
# command: ["/bin/sh"]
# stdin_open: true
# tty: true
ports:
- 8001:8001
- 5678:5678
volumes:
- joplin:/root/.config/joplin:ro
- joplin-vieweb:/root/.config/joplin-vieweb
# networks:
# - joplin-net
joplin-terminal-xapi:
image: joplin-terminal-xapi
build: joplin-terminal-xapi
ports:
- "8080:8080"
- "8081:8081"
volumes:
- joplin:/root/.config/joplin
# networks:
# - joplin-net
volumes:
joplin:
joplin-vieweb:
# networks:
# joplin-net: {}