Moving containers aroung

This commit is contained in:
2022-03-08 16:43:19 +00:00
parent 49e20f8dd4
commit 139453ce2a
4 changed files with 34 additions and 34 deletions

View File

@@ -54,6 +54,35 @@ 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