Move a bunch of containers around

This commit is contained in:
2022-03-08 00:42:44 +00:00
parent 41e53a5f6d
commit f262a53009
4 changed files with 82 additions and 49 deletions

View File

@@ -47,20 +47,6 @@ services:
- PROXIED=false
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:
image: b4bz/homer
container_name: homer_private
@@ -92,41 +78,8 @@ services:
networks:
- 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:
proxy:
external: true
name: proxy
tor:
external: true
name: proxy
yourls:
name: yourls