update compose to mount directory and not a directory called "bitpart.sqlite"
This commit is contained in:
@ -4,10 +4,10 @@ services:
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- sqlite:/bitpart.sqlite
|
||||
- sqlite:/bitpart/mounted
|
||||
environment:
|
||||
- BITPART_BIND=127.0.0.1:3000
|
||||
- BITPART_DATABASE=/bitpart.sqlite
|
||||
- BITPART_DATABASE=/bitpart/mounted/bitpart.sqlite
|
||||
- BITPART_AUTH_FILE=/run/secrets/auth_key
|
||||
- BITPART_KEY_FILE=/run/secrets/sql_key
|
||||
image: fung.uy/mycosystems/bitpart:1.0.0
|
||||
@ -21,7 +21,7 @@ services:
|
||||
condition: on-failure
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3000"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
|
||||
Reference in New Issue
Block a user