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

@@ -20,7 +20,6 @@ Docker-compose configurations and other bits for various services running on the
## Cloud ## Cloud
* [Nextcloud](https://github.com/nextcloud/server): Self-hosted cloud storage and more * [Nextcloud](https://github.com/nextcloud/server): Self-hosted cloud storage and more
* [YOURLS](https://github.com/YOURLS/YOURLS): URL shortener
## DevOps ## DevOps
@@ -75,6 +74,7 @@ Docker-compose configurations and other bits for various services running on the
* [Cloudflare Argo Tunnel](https://hub.docker.com/r/cloudflare/cloudflared): Tunneling service * [Cloudflare Argo Tunnel](https://hub.docker.com/r/cloudflare/cloudflared): Tunneling service
* [Cloudflare DDNS](https://github.com/oznu/docker-cloudflare-ddns): Dynamic DNS service * [Cloudflare DDNS](https://github.com/oznu/docker-cloudflare-ddns): Dynamic DNS service
* [WhoAmI](https://github.com/traefik/whoami): HTTP request information * [WhoAmI](https://github.com/traefik/whoami): HTTP request information
* [YOURLS](https://github.com/YOURLS/YOURLS): URL shortener
## Samba ## Samba

View File

@@ -6,7 +6,7 @@ services:
container_name: nextcloud container_name: nextcloud
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- '/home/nick/configs/nextcloud/conf:/config' - '/home/nick/configs/cloud/nc_conf:/config'
- '/mnt/storage/configs/nextcloud/data:/data' - '/mnt/storage/configs/nextcloud/data:/data'
- '/mnt/storage/public:/public' - '/mnt/storage/public:/public'
- '/mnt/storage/private:/private' - '/mnt/storage/private:/private'
@@ -25,7 +25,7 @@ services:
container_name: nextcloud_db container_name: nextcloud_db
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- '/home/nick/configs/nextcloud/db:/var/lib/mysql' - '/home/nick/configs/cloud/nc_db:/var/lib/mysql'
environment: environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASS} - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASS}
- MYSQL_USER=nextcloud - MYSQL_USER=nextcloud
@@ -35,35 +35,6 @@ 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

View File

@@ -6,7 +6,7 @@ services:
container_name: homer_private container_name: homer_private
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- '/home/nick/configs/routing/homer:/www/assets' - '/home/nick/configs/home/homer:/www/assets'
environment: environment:
- UID=1000 - UID=1000
- GID=1000 - GID=1000
@@ -18,7 +18,7 @@ services:
container_name: homer_social container_name: homer_social
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- '/home/nick/configs/routing/social:/www/assets' - '/home/nick/configs/home/social:/www/assets'
environment: environment:
- UID=1000 - UID=1000
- GID=1000 - GID=1000

View File

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