commit
28e7f856a5
2 changed files with 24 additions and 14 deletions
|
|
@ -92,7 +92,7 @@ A fork of techfreak's [Pathfinder-container](https://gitlab.com/techfreak/pathfi
|
||||||
|
|
||||||
1. **Build & Run it**
|
1. **Build & Run it**
|
||||||
```shell
|
```shell
|
||||||
docker network create web && docker-compose up -d --build
|
docker network create web && docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
1. **Open the http://< your-domain >/setup page.**
|
1. **Open the http://< your-domain >/setup page.**
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: "3.8"
|
version: "3.9"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pfdb:
|
pfdb:
|
||||||
|
|
@ -10,15 +10,19 @@ services:
|
||||||
aliases:
|
aliases:
|
||||||
- "$MYSQL_HOST"
|
- "$MYSQL_HOST"
|
||||||
volumes:
|
volumes:
|
||||||
- db_data:/var/lib/mysql
|
- db_data:/var/lib/mysql
|
||||||
- ./pathfinder/export/sql/eve_universe.sql.zip:/eve_universe.sql.zip
|
- ./pathfinder/export/sql/eve_universe.sql.zip:/eve_universe.sql.zip
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
restart: always
|
restart: always
|
||||||
pf-redis:
|
pf-redis:
|
||||||
image: redis:6.2.5-alpine3.14
|
image: redis:6.2.5-alpine3.14
|
||||||
command: ["redis-server", "--appendonly", "yes"]
|
command: ["redis-server", "--appendonly", "yes"]
|
||||||
hostname: redis
|
container_name: redis
|
||||||
volumes:
|
volumes:
|
||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
networks:
|
networks:
|
||||||
pf:
|
pf:
|
||||||
aliases:
|
aliases:
|
||||||
|
|
@ -29,17 +33,20 @@ services:
|
||||||
pf-socket:
|
pf-socket:
|
||||||
image: ghcr.io/goryn-clade/pf-websocket:latest
|
image: ghcr.io/goryn-clade/pf-websocket:latest
|
||||||
command: ["--tcpHost", "0.0.0.0"]
|
command: ["--tcpHost", "0.0.0.0"]
|
||||||
hostname: socket
|
container_name: socket
|
||||||
networks:
|
networks:
|
||||||
pf:
|
pf:
|
||||||
aliases:
|
aliases:
|
||||||
- "$PATHFINDER_SOCKET_HOST"
|
- "$PATHFINDER_SOCKET_HOST"
|
||||||
|
volumes:
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
restart: always
|
restart: always
|
||||||
pf:
|
pf:
|
||||||
hostname: "pathfinder"
|
container_name: 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"
|
||||||
|
|
@ -62,14 +69,16 @@ services:
|
||||||
- ./config/pathfinder/pathfinder.ini:/var/www/html/pathfinder/app/pathfinder.ini
|
- ./config/pathfinder/pathfinder.ini:/var/www/html/pathfinder/app/pathfinder.ini
|
||||||
- ./config/pathfinder/plugin.ini:/var/www/html/pathfinder/app/plugin.ini
|
- ./config/pathfinder/plugin.ini:/var/www/html/pathfinder/app/plugin.ini
|
||||||
- ./logs:/var/www/html/pathfinder/history/map
|
- ./logs:/var/www/html/pathfinder/history/map
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- pfdb
|
- pfdb
|
||||||
- pf-redis
|
- pf-redis
|
||||||
- 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"
|
||||||
|
|
@ -88,17 +97,18 @@ services:
|
||||||
- "443:443"
|
- "443:443"
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- "./letsencrypt:/letsencrypt"
|
- ./letsencrypt:/letsencrypt
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue