Moving containers aroung
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user