Compare commits
2 Commits
e0f02bdce8
...
786ddc20eb
Author | SHA1 | Date | |
---|---|---|---|
786ddc20eb | |||
05c3722d39 |
@ -44,23 +44,23 @@
|
|||||||
# name: jsondiff
|
# name: jsondiff
|
||||||
|
|
||||||
# Update the app git repos
|
# Update the app git repos
|
||||||
# - name: update the mojo git repo
|
- name: update the mojo git repo
|
||||||
# git:
|
git:
|
||||||
# repo: 'https://git.awful.club/hosted/mojojojo-bot.git'
|
repo: 'https://git.awful.club/hosted/mojojojo-bot.git'
|
||||||
# dest: /home/josiah/apps/mojo/
|
dest: /home/josiah/apps/mojo/
|
||||||
# version: master
|
version: master
|
||||||
|
|
||||||
# - name: update the arke git repo
|
- name: update the arke git repo
|
||||||
# git:
|
git:
|
||||||
# repo: 'https://git.awful.club/hosted/arke.git'
|
repo: 'https://git.awful.club/hosted/arke.git'
|
||||||
# dest: /home/josiah/apps/arke/
|
dest: /home/josiah/apps/arke/
|
||||||
# version: master
|
version: master
|
||||||
|
|
||||||
# - name: update the znc git repo
|
- name: update the znc git repo
|
||||||
# git:
|
git:
|
||||||
# repo: 'https://git.awful.club/hosted/znc-docker.git'
|
repo: 'https://git.awful.club/hosted/znc-docker.git'
|
||||||
# dest: /home/josiah/apps/znc/
|
dest: /home/josiah/apps/znc/
|
||||||
# version: master
|
version: master
|
||||||
|
|
||||||
- name: copy over awful-All config files
|
- name: copy over awful-All config files
|
||||||
template:
|
template:
|
||||||
|
@ -3,6 +3,8 @@ version: '3'
|
|||||||
networks:
|
networks:
|
||||||
gitea:
|
gitea:
|
||||||
external: false
|
external: false
|
||||||
|
pubnet:
|
||||||
|
external: false
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
@ -18,11 +20,13 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
- "222:222" # gitea ssh
|
- "222:222" # gitea ssh
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
- "5000:5000" # bouncer default port
|
||||||
environment:
|
environment:
|
||||||
DO_AUTH_TOKEN: "{{ DO_AUTH_TOKEN }}"
|
DO_AUTH_TOKEN: "{{ DO_AUTH_TOKEN }}"
|
||||||
networks:
|
networks:
|
||||||
|
pubnet:
|
||||||
gitea:
|
gitea:
|
||||||
volumes:
|
volumes:
|
||||||
- "/home/josiah/apps/awful/letsencrypt/:/letsencrypt"
|
- "/home/josiah/apps/awful/letsencrypt/:/letsencrypt"
|
||||||
@ -44,6 +48,8 @@ services:
|
|||||||
- "traefik.http.routers.whoami.entrypoints=websecure"
|
- "traefik.http.routers.whoami.entrypoints=websecure"
|
||||||
- "traefik.http.routers.whoami.tls.certresolver=awful-letsencrypt"
|
- "traefik.http.routers.whoami.tls.certresolver=awful-letsencrypt"
|
||||||
- "traefik.http.routers.whoami.tls=true"
|
- "traefik.http.routers.whoami.tls=true"
|
||||||
|
networks:
|
||||||
|
pubnet:
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.17.10
|
image: nginx:1.17.10
|
||||||
@ -57,6 +63,8 @@ services:
|
|||||||
- "traefik.http.routers.nginx.rule=Host(`awful.club`)||Host(`jowj.net`)"
|
- "traefik.http.routers.nginx.rule=Host(`awful.club`)||Host(`jowj.net`)"
|
||||||
- "traefik.http.routers.nginx.entrypoints=websecure"
|
- "traefik.http.routers.nginx.entrypoints=websecure"
|
||||||
- "traefik.http.routers.nginx.tls.certresolver=awful-letsencrypt"
|
- "traefik.http.routers.nginx.tls.certresolver=awful-letsencrypt"
|
||||||
|
networks:
|
||||||
|
pubnet:
|
||||||
|
|
||||||
gitea-server:
|
gitea-server:
|
||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
@ -105,4 +113,29 @@ services:
|
|||||||
ipv4_address: 172.28.1.3
|
ipv4_address: 172.28.1.3
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/volume_sfo2_01/psql:/var/lib/postgresql/data
|
- /mnt/volume_sfo2_01/psql:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
bouncer:
|
||||||
|
build:
|
||||||
|
context: /home/josiah/apps/znc/
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
image: znc
|
||||||
|
volumes:
|
||||||
|
- /mnt/volume_sfo2_znc/:/znc-data
|
||||||
|
networks:
|
||||||
|
pubnet:
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
|
||||||
|
# handle web ui
|
||||||
|
- "traefik.http.routers.bouncer-web.rule=Host(`bouncer.awful.club`)"
|
||||||
|
- "traefik.http.routers.bouncer-web.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.bouncer-web.tls.certresolver=awful-letsencrypt"
|
||||||
|
- "traefik.http.routers.bouncer-web.service=bouncer-web-svc"
|
||||||
|
- "traefik.http.routers.bouncer-web.tls=true"
|
||||||
|
- "traefik.http.services.bouncer-web-svc.loadbalancer.server.port=5001"
|
||||||
|
|
||||||
|
# handle irc
|
||||||
|
- "traefik.tcp.routers.bouncer-irc.rule=HostSNI(`*`)"
|
||||||
|
- "traefik.tcp.routers.bouncer-irc.entrypoints=irc"
|
||||||
|
- "traefik.tcp.routers.bouncer-irc.service=bouncer-irc-svc"
|
||||||
|
- "traefik.tcp.services.bouncer-irc-svc.loadbalancer.server.port=5000"
|
||||||
|
@ -12,6 +12,8 @@ api:
|
|||||||
entryPoints:
|
entryPoints:
|
||||||
ssh:
|
ssh:
|
||||||
address: ":222"
|
address: ":222"
|
||||||
|
irc:
|
||||||
|
address: ":5000"
|
||||||
gitea-web:
|
gitea-web:
|
||||||
address: ":3000"
|
address: ":3000"
|
||||||
web:
|
web:
|
||||||
|
Loading…
Reference in New Issue
Block a user