Add migrations
This commit is contained in:
@@ -7,6 +7,8 @@ services:
|
||||
PGADMIN_DEFAULT_EMAIL: test@schoff.it
|
||||
PGADMIN_DEFAULT_PASSWORD: example
|
||||
restart: always
|
||||
ports:
|
||||
- "8084:80"
|
||||
volumes:
|
||||
- pgadmin-data:/var/lib/pgadmin
|
||||
labels:
|
||||
@@ -26,24 +28,23 @@ services:
|
||||
#- shared-traefik
|
||||
- shared-pgadmin
|
||||
|
||||
web:
|
||||
build: .
|
||||
restart: always
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
# http (with redirect)
|
||||
- "traefik.http.routers.goapi_http.entrypoints=web"
|
||||
- "traefik.http.routers.goapi_http.rule=Host(`goapi.dev.duckduckfuck.com`)"
|
||||
- "traefik.http.routers.goapi_http.middlewares=https_redirect"
|
||||
|
||||
# https
|
||||
- "traefik.http.routers.goapi_https.rule=Host(`goapi.dev.duckduckfuck.com`)"
|
||||
- "traefik.http.routers.goapi_https.entrypoints=websecure"
|
||||
- "traefik.http.routers.goapi_https.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.goapi_https.loadbalancer.server.port=8082"
|
||||
networks:
|
||||
#- shared-traefik
|
||||
- shared-web
|
||||
#web:
|
||||
# build: .
|
||||
# restart: always
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# # http (with redirect)
|
||||
# - "traefik.http.routers.goapi_http.entrypoints=web"
|
||||
# - "traefik.http.routers.goapi_http.rule=Host(`goapi.dev.duckduckfuck.com`)"
|
||||
# - "traefik.http.routers.goapi_http.middlewares=https_redirect"
|
||||
# # https
|
||||
# - "traefik.http.routers.goapi_https.rule=Host(`goapi.dev.duckduckfuck.com`)"
|
||||
# - "traefik.http.routers.goapi_https.entrypoints=websecure"
|
||||
# - "traefik.http.routers.goapi_https.tls.certresolver=letsencrypt"
|
||||
# - "traefik.http.services.goapi_https.loadbalancer.server.port=8082"
|
||||
# networks:
|
||||
# #- shared-traefik
|
||||
# - shared-web
|
||||
|
||||
postgres-db:
|
||||
image: postgres:11.6
|
||||
|
Reference in New Issue
Block a user