commit 298e7e7ea080e14f2f56d231224c86e19c2f92ec parent 7d2b714bfa98845f94d7609defead81e3d7f7de4 Author: AndrewLockVI <andrewlaack1@gmail.com> Date: Tue, 7 Jan 2025 14:32:33 -0600 Updated compose file Diffstat:
| M | docker-compose.yml | | | 92 | ++++++++++++------------------------------------------------------------------- |
1 file changed, 13 insertions(+), 79 deletions(-)
diff --git a/docker-compose.yml b/docker-compose.yml @@ -1,15 +1,14 @@ services: - - jellyfin: - image: jellyfin/jellyfin - container_name: jellyfin - restart: unless-stopped + gitea: + image: gitea/gitea:latest + container_name: gitea ports: - - "8096:8096" + - "2222:22" + - "8089:9998" volumes: - - ../configJelly:/config - - /home/shared:/media - + - ../gitea:/data + - ../.venv:/venv + restart: always calibre-web: image: linuxserver/calibre-web:latest container_name: calibre-web @@ -22,76 +21,11 @@ services: volumes: - ../configCalibre:/config - /home/shared/books:/books - - ../certs:/ssl/certs - restart: unless-stopped - - portainer: - image: portainer/portainer - container_name: portainer - restart: always - ports: - - "9000:9000" - volumes: - - /var/run/docker.sock:/var/run/docker.sock - - ../portainer_data:/data - - gitea: - image: gitea/gitea:latest - container_name: gitea - ports: - - "2222:22" - - "8089:80" - volumes: - - ../gitea:/data - restart: always - - pihole: - container_name: pihole - image: pihole/pihole:latest - ports: - - "53:53/tcp" - - "53:53/udp" - - "8080:80/tcp" - environment: - TZ: 'America/Chicago' - volumes: - - '../pihole/etc-pihole:/etc/pihole' - - '../pihole/etc-dnsmasq.d:/etc/dnsmasq.d' - restart: unless-stopped - - nginx: - image: nginx:latest - container_name: nginx restart: unless-stopped - volumes: - - ../nginx/:/etc/nginx/ - - ../certs/:/ssl/certs + web-server: + image: nginx:latest # Use the official Nginx image + container_name: web-server ports: - - "80:80" - - "443:443" - - mariadb: - image: mariadb:10.6 - container_name: mariadb - restart: always - command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW + - "80:80" # Map port 80 on the host to port 80 in the container volumes: - - ../mariadb:/var/lib/mysql - environment: - - MYSQL_DATABASE=nextcloud - - MYSQL_USER=nextcloud - - nextcloud: - container_name: nextcloud - image: nextcloud - restart: always - ports: - - 8082:80 - links: - - mariadb - volumes: - - ../nextcloud:/var/www/html - environment: - - MYSQL_DATABASE=nextcloud - - MYSQL_USER=nextcloud - - MYSQL_HOST=mariadb + - ../html:/usr/share/nginx/html # Mount the 'html' directory from the host to the container