-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
84 lines (79 loc) · 3.66 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "3.8"
services:
traefik:
image: traefik:v2.4.0
command:
- --api.insecure=true
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.web.address=:3000
ports:
- 3000:3000
- 8081:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
pingboard-frontend:
build:
context: ./
dockerfile: ./packages/frontend/Dockerfile
labels:
traefik.enable: "true"
traefik.http.routers.pingboard-frontend.entrypoints: web
traefik.http.routers.pingboard-frontend.rule: PathPrefix(`/`)
traefik.http.services.pingboard-frontend.loadbalancer.server.port: 80
pingboard-backend:
build:
context: ./
dockerfile: ./packages/backend/Dockerfile
environment:
NODE_ENV: "production"
COOKIE_KEY: "change me in production!"
DB_URL: "mysql://pingboard:pingboard@mariadb/pingboard"
SSO_CLIENT_ID:
SSO_CLIENT_SECRET:
SSO_REDIRECT_URI: "http://localhost:3000/auth/callback"
SSO_TOKEN_URI: "https://login.eveonline.com/v2/oauth/token"
SSO_AUTHORIZATION_URI: "https://login.eveonline.com/v2/oauth/authorize"
SLACK_TOKEN:
CORE_URL: "http://neucore/api"
CORE_APP_ID:
CORE_APP_TOKEN:
GROUPS_PING:
GROUPS_READ_EVENTS:
GROUPS_ADD_EVENTS:
GROUPS_EDIT_EVENTS:
GROUPS_WRITE_PING_TEMPLATES:
labels:
traefik.enable: "true"
traefik.http.routers.pingboard-backend.entrypoints: web
traefik.http.routers.pingboard-backend.rule: PathPrefix(`/auth`, `/api`)
traefik.http.services.pingboard-backend.loadbalancer.server.port: 3000
mariadb:
image: mariadb:10.6.4-focal
ports:
- "3306:3306"
environment:
MARIADB_ROOT_PASSWORD: "toor"
MARIADB_DATABASE: "pingboard"
MARIADB_USER: "pingboard"
MARIADB_PASSWORD: "pingboard"
neucore-db:
image: mariadb:10.6.4-focal
environment:
MARIADB_ROOT_PASSWORD: "neucore"
MARIADB_DATABASE: "neucore"
MARIADB_USER: "neucore"
MARIADB_PASSWORD: "neucore"
neucore:
image: tkhamez/neucore:2.4.0
ports:
- "8080:80"
environment:
NEUCORE_APP_ENV: prod
NEUCORE_DATABASE_URL: "mysql://neucore:neucore@neucore-db/neucore"
NEUCORE_EVE_CALLBACK_URL: "http://localhost:8080/login-callback"
NEUCORE_EVE_CLIENT_ID:
NEUCORE_EVE_SECRET_KEY:
NEUCORE_EVE_SCOPES: "esi-calendar.read_calendar_events.v1 esi-location.read_location.v1 esi-location.read_ship_type.v1 esi-mail.read_mail.v1 esi-skills.read_skills.v1 esi-skills.read_skillqueue.v1 esi-wallet.read_character_wallet.v1 esi-search.search_structures.v1 esi-clones.read_clones.v1 esi-characters.read_contacts.v1 esi-universe.read_structures.v1 esi-bookmarks.read_character_bookmarks.v1 esi-killmails.read_killmails.v1 esi-corporations.read_corporation_membership.v1 esi-assets.read_assets.v1 esi-fleets.read_fleet.v1 esi-fittings.read_fittings.v1 esi-markets.structure_markets.v1 esi-characters.read_loyalty.v1 esi-characters.read_opportunities.v1 esi-characters.read_chat_channels.v1 esi-characters.read_medals.v1 esi-characters.read_standings.v1 esi-characters.read_agents_research.v1 esi-industry.read_character_jobs.v1 esi-markets.read_character_orders.v1 esi-characters.read_blueprints.v1 esi-characters.read_corporation_roles.v1 esi-location.read_online.v1 esi-contracts.read_character_contracts.v1 esi-clones.read_implants.v1 esi-characters.read_fatigue.v1 esi-characters.read_notifications.v1 esi-industry.read_character_mining.v1 esi-characters.read_titles.v1 esi-characters.read_fw_stats.v1 esi-characterstats.read.v1"
NEUCORE_SESSION_SECURE: "0"
working_dir: "/var/www/backend"