Move a bunch of containers around
This commit is contained in:
@@ -20,7 +20,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
db:
|
nextcloud_db:
|
||||||
image: mariadb:10.5
|
image: mariadb:10.5
|
||||||
container_name: nextcloud_db
|
container_name: nextcloud_db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -35,9 +35,40 @@ services:
|
|||||||
- nextcloud
|
- nextcloud
|
||||||
user: '1000:1000'
|
user: '1000:1000'
|
||||||
|
|
||||||
|
yourls:
|
||||||
|
build: https://git.karaolidis.com/Nikas36/yourls-plugins.git
|
||||||
|
image: yourls:custom
|
||||||
|
container_name: yourls
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- 'YOURLS_DB_HOST=yourls_db:3306'
|
||||||
|
- 'YOURLS_DB_PASS=${YOURLS_DB_PASS}'
|
||||||
|
- 'YOURLS_SITE=${YOURLS_URL}'
|
||||||
|
- 'YOURLS_USER=${YOURLS_USER}'
|
||||||
|
- 'YOURLS_PASS=${YOURLS_PASS}'
|
||||||
|
networks:
|
||||||
|
- yourls
|
||||||
|
- proxy
|
||||||
|
depends_on:
|
||||||
|
- yourls_db
|
||||||
|
|
||||||
|
yourls_db:
|
||||||
|
image: mysql
|
||||||
|
container_name: yourls_db
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- '/home/nick/configs/routing/yourls:/var/lib/mysql'
|
||||||
|
environment:
|
||||||
|
- 'MYSQL_ROOT_PASSWORD=${YOURLS_DB_PASS}'
|
||||||
|
networks:
|
||||||
|
- yourls
|
||||||
|
user: '1000:1000'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
name: nextcloud
|
name: nextcloud
|
||||||
|
yourls:
|
||||||
|
name: yourls
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
name: proxy
|
name: proxy
|
33
home/docker-compose.yml
Normal file
33
home/docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
version: '3.9'
|
||||||
|
|
||||||
|
services:
|
||||||
|
homer_private:
|
||||||
|
image: b4bz/homer
|
||||||
|
container_name: homer_private
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- '/home/nick/configs/routing/homer:/www/assets'
|
||||||
|
environment:
|
||||||
|
- UID=1000
|
||||||
|
- GID=1000
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
homer_social:
|
||||||
|
image: b4bz/homer
|
||||||
|
container_name: homer_social
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- '/home/nick/configs/routing/social:/www/assets'
|
||||||
|
environment:
|
||||||
|
- UID=1000
|
||||||
|
- GID=1000
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
name: proxy
|
||||||
|
yourls:
|
||||||
|
name: yourls
|
@@ -47,20 +47,6 @@ services:
|
|||||||
- PROXIED=false
|
- PROXIED=false
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
|
|
||||||
tor:
|
|
||||||
image: dperson/torproxy
|
|
||||||
container_name: tor
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/Athens
|
|
||||||
- USERID=1000
|
|
||||||
- GROUPID=1000
|
|
||||||
ports:
|
|
||||||
- '8118:8118'
|
|
||||||
- '9050:9050'
|
|
||||||
networks:
|
|
||||||
- tor
|
|
||||||
|
|
||||||
homer_private:
|
homer_private:
|
||||||
image: b4bz/homer
|
image: b4bz/homer
|
||||||
container_name: homer_private
|
container_name: homer_private
|
||||||
@@ -92,41 +78,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
yourls:
|
|
||||||
build: https://git.karaolidis.com/Nikas36/yourls-plugins.git
|
|
||||||
image: yourls:custom
|
|
||||||
container_name: yourls
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
- 'YOURLS_DB_HOST=yourls_db:3306'
|
|
||||||
- 'YOURLS_DB_PASS=${YOURLS_DB_PASS}'
|
|
||||||
- 'YOURLS_SITE=${YOURLS_URL}'
|
|
||||||
- 'YOURLS_USER=${YOURLS_USER}'
|
|
||||||
- 'YOURLS_PASS=${YOURLS_PASS}'
|
|
||||||
networks:
|
|
||||||
- yourls
|
|
||||||
- proxy
|
|
||||||
depends_on:
|
|
||||||
- yourls_db
|
|
||||||
|
|
||||||
yourls_db:
|
|
||||||
image: mysql
|
|
||||||
container_name: yourls_db
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- '/home/nick/configs/routing/yourls:/var/lib/mysql'
|
|
||||||
environment:
|
|
||||||
- 'MYSQL_ROOT_PASSWORD=${YOURLS_DB_PASS}'
|
|
||||||
networks:
|
|
||||||
- yourls
|
|
||||||
user: '1000:1000'
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
name: proxy
|
name: proxy
|
||||||
tor:
|
|
||||||
external: true
|
|
||||||
name: proxy
|
|
||||||
yourls:
|
|
||||||
name: yourls
|
|
||||||
|
@@ -40,6 +40,20 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
|
|
||||||
|
tor:
|
||||||
|
image: dperson/torproxy
|
||||||
|
container_name: tor
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Athens
|
||||||
|
- USERID=1000
|
||||||
|
- GROUPID=1000
|
||||||
|
ports:
|
||||||
|
- '8118:8118'
|
||||||
|
- '9050:9050'
|
||||||
|
networks:
|
||||||
|
- tor
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
vpn:
|
vpn:
|
||||||
name: vpn
|
name: vpn
|
||||||
@@ -47,3 +61,5 @@ networks:
|
|||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
- subnet: "172.20.0.0/16"
|
- subnet: "172.20.0.0/16"
|
||||||
|
tor:
|
||||||
|
name: tor
|
Reference in New Issue
Block a user