rename docker-compose files and remove unused network "app"
the default docker compose file should be minimal and easy to read as docker-compose.yml other docker-compose variants for typical setup should be named as: docker-compose.<variant>.yml this way one could use e.g. `docker compose -f docker-compose.traefik.yml up` to start the variant for traefik. (mind keeping the file extension) and fixed a typo the README.md
This commit is contained in:
@@ -16,23 +16,6 @@ services:
|
||||
# expose port and/or use serving via traefik
|
||||
ports:
|
||||
- 8080:8080
|
||||
# traefik configurations, including networks can be commented out if not needed
|
||||
networks:
|
||||
- traefik-ingress
|
||||
labels:
|
||||
## Traefik General
|
||||
# We set 'enable by default' to false, so this tells Traefik we want it to connect here
|
||||
traefik.enable: true
|
||||
# define network for traefik<>app communication
|
||||
traefik.docker.network: traefik-ingress
|
||||
## HTTP Routers
|
||||
traefik.http.routers.whoami.entrypoints: https
|
||||
traefik.http.routers.whoami.rule: Host(`lubelog.mydomain.tld`)
|
||||
## Middlewares
|
||||
#traefik.http.routers.whoami.middlewares: authentik@docker
|
||||
# none
|
||||
## HTTP Services
|
||||
traefik.http.services.whoami.loadbalancer.server.port: 5000
|
||||
|
||||
volumes:
|
||||
config:
|
||||
@@ -40,8 +23,3 @@ volumes:
|
||||
documents:
|
||||
images:
|
||||
log:
|
||||
|
||||
networks:
|
||||
app:
|
||||
traefik-ingress:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user