-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
74 lines (74 loc) · 1.72 KB
/
docker-compose.yaml
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
version: "3"
services:
frontend:
image: ghcr.io/buka-lnc/opendoc-frontend:latest
ports:
- "3000:3000"
environment:
NUXT_API_BASE_ORIGIN: http://backend:8080
backend:
image: ghcr.io/buka-lnc/opendoc-backend:latest
ports:
- "8080:8080"
environment:
MIGRATION: true
MYSQL__HOST: mysql
MYSQL__PORT: 3306
MYSQL__USER: opendoc
MYSQL__PASSWORD: opendoc
MYSQL__DB_NAME: opendoc
REGISTER__URL: http://127.0.0.1:4873
depends_on:
mysql:
condition: service_healthy
compiler:
image: ghcr.io/buka-lnc/opendoc-compiler:latest
ports:
- "9000:9000"
mysql:
image: mysql:8
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
timeout: 20s
retries: 10
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: opendoc
MYSQL_USER: opendoc
MYSQL_PASSWORD: opendoc
verdaccio:
image: verdaccio/verdaccio
ports:
- "4873:4873"
configs:
- source: verdaccio_conf.yaml
target: /verdaccio/conf/config.yaml
configs:
verdaccio_conf.yaml:
content: |
storage: /verdaccio/storage/data
plugins: /verdaccio/plugins
web:
title: Opendoc Compiler Test
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@*/*':
# scoped packages
access: $$all
publish: $$all
unpublish: $$all
proxy: npmjs
'**':
access: $$all
publish: $$all
unpublish: $$all
proxy: npmjs
server:
keepAliveTimeout: 60
publish:
allow_offline: true
middlewares:
audit:
enabled: true