mirror of
https://github.com/joplin-vieweb/joplin-vieweb.git
synced 2024-12-13 09:51:05 +01:00
Change docker-compose env variable
This commit is contained in:
parent
2a0a3cb79c
commit
4d25780c8c
@ -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:
|
|
@ -6,31 +6,21 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- joplin-terminal-xapi
|
- 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: ["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:
|
ports:
|
||||||
- 8001:8001
|
- 8001:8001
|
||||||
- 5678:5678
|
- 5678:5678
|
||||||
volumes:
|
volumes:
|
||||||
- joplin:/root/.config/joplin:ro
|
- joplin:/root/.config/joplin:ro
|
||||||
- joplin-vieweb:/root/.config/joplin-vieweb
|
- joplin-vieweb:/root/.config/joplin-vieweb
|
||||||
# networks:
|
|
||||||
# - joplin-net
|
|
||||||
|
|
||||||
joplin-terminal-xapi:
|
joplin-terminal-xapi:
|
||||||
image: joplin-terminal-xapi
|
build: joplin-terminal-xapi
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
- "8081:8081"
|
- "8081:8081"
|
||||||
volumes:
|
volumes:
|
||||||
- joplin:/root/.config/joplin
|
- joplin:/root/.config/joplin
|
||||||
# networks:
|
|
||||||
# - joplin-net
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
joplin:
|
joplin:
|
||||||
joplin-vieweb:
|
joplin-vieweb:
|
||||||
|
|
||||||
# networks:
|
|
||||||
# joplin-net: {}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user