Do a little cleaning

There are a few inconsistencies in the way code is written and also a volume that isn't needed.

There is also a spacing problem for the .env file, which docker-compose hates
This commit is contained in:
Zachary Laughlin 2023-07-10 01:36:20 -07:00 committed by GitHub
parent 3834bb4ec9
commit 2a31f54e8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
version: "3.8" version: "3.9"
services: services:
pfdb: pfdb:
@ -36,10 +36,10 @@ services:
- "$PATHFINDER_SOCKET_HOST" - "$PATHFINDER_SOCKET_HOST"
restart: always restart: always
pf: pf:
hostname: "pathfinder" hostname: pathfinder
image: ghcr.io/goryn-clade/pathfinder:latest image: ghcr.io/goryn-clade/pathfinder:latest
env_file: env_file:
- .env - .env
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=web" - "traefik.docker.network=web"
@ -68,8 +68,8 @@ services:
- pf-socket - pf-socket
restart: always restart: always
traefik: traefik:
image: "traefik:v2.3" image: traefik:v2.3
container_name: "traefik" container_name: traefik
command: command:
- "--log.level=ERROR" - "--log.level=ERROR"
- "--api.insecure=true" - "--api.insecure=true"
@ -95,10 +95,9 @@ services:
restart: always restart: always
volumes: volumes:
data:
db_data: db_data:
redis_data: redis_data:
networks: networks:
pf: pf:
web: web:
external: true external: true