Move all service folders into docker-compose directory

This commit is contained in:
2025-11-27 19:24:55 -05:00
parent 2f2dc52f74
commit fb0f74d72f
141 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
---
version: "3"
services:
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- /docker-containers/prometheus:/etc/prometheus
- /docker-containers/prometheus/configs:/prometheus
ports:
- 9090:9090
restart: unless-stopped
stdin_open: true # to attach to containers
tty: true # also used to attach to containers
# network_mode: service:wireguard # To run through vpn service container, in turn UI port must be forwarded inside vpn. No local access unless otherwise defined
networks: # Specify network for container
- homelab
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
homelab:
external: true # This option causes compose to join the above network instead of making a _default one (supposedly)