mirror of
https://github.com/joplin-vieweb/joplin-vieweb.git
synced 2024-12-12 17:30:55 +01:00
A working commit on all projects
This commit is contained in:
parent
672aaf9f12
commit
18da977b32
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,4 @@
|
||||
django-joplin-vieweb/
|
||||
joplin-terminal-xapi/
|
||||
joplin-terminal-xapi/
|
||||
joplin-vieweb-certbot/
|
||||
joplin-vieweb-nginx/
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -2,5 +2,7 @@
|
||||
"files.exclude": {
|
||||
"django-joplin-vieweb": true,
|
||||
"joplin-terminal-xapi": true,
|
||||
"joplin-vieweb-certbot": true,
|
||||
"joplin-vieweb-nginx": true,
|
||||
},
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
#/bin/sh
|
||||
|
||||
for project in joplin-terminal-xapi django-joplin-vieweb; do
|
||||
for project in joplin-terminal-xapi django-joplin-vieweb joplin-vieweb-nginx joplin-vieweb-certbot; do
|
||||
git clone git@github.com:joplin-vieweb/${project}.git
|
||||
done
|
||||
|
25
docker-compose-test.yml
Normal file
25
docker-compose-test.yml
Normal file
@ -0,0 +1,25 @@
|
||||
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:
|
@ -1,37 +1,71 @@
|
||||
version: '3.4'
|
||||
|
||||
x-common-variables: &common-variables
|
||||
DOMAIN: your_domain.com
|
||||
DOMAIN_IP: 12.34.56.78
|
||||
CERT_MAIL: webmaster@your_domain.com
|
||||
|
||||
services:
|
||||
django-joplin-vieweb:
|
||||
# image: django-joplin-vieweb
|
||||
build: ./django-joplin-vieweb
|
||||
# command: ["/bin/sh"]
|
||||
# stdin_open: true
|
||||
# tty: true
|
||||
#stdin_open: true
|
||||
#tty: true
|
||||
depends_on:
|
||||
- joplin-terminal-xapi
|
||||
ports:
|
||||
- 80:80
|
||||
environment:
|
||||
<<: *common-variables
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- joplin:/root/.config/joplin:ro
|
||||
- joplin-vieweb:/root/.config/joplin-vieweb
|
||||
- certbot_www:/var/www/certbot/:ro
|
||||
networks:
|
||||
- joplin-net
|
||||
|
||||
joplin-terminal-xapi:
|
||||
image: joplin-terminal-xapi
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
# - "8081:8081"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- joplin:/root/.config/joplin
|
||||
networks:
|
||||
- joplin-net
|
||||
|
||||
joplin-vieweb-certbot:
|
||||
build: ./joplin-vieweb-certbot
|
||||
environment:
|
||||
<<: *common-variables
|
||||
# command: ["/bin/bash"]
|
||||
stdin_open: true
|
||||
tty: true
|
||||
depends_on:
|
||||
- joplin-vieweb-nginx
|
||||
volumes:
|
||||
- certbot_www:/var/www/certbot/:rw
|
||||
- certbot_conf:/etc/letsencrypt/:rw
|
||||
|
||||
joplin-vieweb-nginx:
|
||||
build: ./joplin-vieweb-nginx
|
||||
# command: ["/bin/sh"]
|
||||
# stdin_open: true
|
||||
# tty: true
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
environment:
|
||||
<<: *common-variables
|
||||
volumes:
|
||||
- certbot_www:/var/www/certbot/:ro
|
||||
- certbot_conf:/etc/letsencrypt/:ro
|
||||
networks:
|
||||
- joplin-net
|
||||
|
||||
volumes:
|
||||
joplin:
|
||||
joplin-vieweb:
|
||||
certbot_www:
|
||||
certbot_conf:
|
||||
|
||||
networks:
|
||||
joplin-net: {}
|
||||
|
@ -8,6 +8,14 @@
|
||||
"name": "joplin-terminal-xapi",
|
||||
"path": "joplin-terminal-xapi"
|
||||
},
|
||||
{
|
||||
"name": "joplin-vieweb-certbot",
|
||||
"path": "joplin-vieweb-certbot"
|
||||
},
|
||||
{
|
||||
"name": "joplin-vieweb-nginx",
|
||||
"path": "joplin-vieweb-nginx"
|
||||
},
|
||||
{
|
||||
"name": "jolpin-vieweb",
|
||||
"path": "."
|
||||
|
Loading…
Reference in New Issue
Block a user