admin/front 분리
This commit is contained in:
+6
-6
@@ -1,20 +1,20 @@
|
||||
services:
|
||||
app:
|
||||
container_name: alist-api
|
||||
image: registry.pjt.kr/alist/api:${IMAGE_TAG}
|
||||
container_name: alist-api-admin
|
||||
image: registry.pjt.kr/alist/api-admin:${IMAGE_TAG}
|
||||
restart: always
|
||||
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
ports:
|
||||
- "127.0.0.1:8106:8106"
|
||||
- "127.0.0.1:8111:8111"
|
||||
|
||||
env_file:
|
||||
- /srv/project/alist/env/api/.env
|
||||
- /srv/project/alist/env/api-admin/.env
|
||||
|
||||
volumes:
|
||||
- /srv/project/alist/logs/api/app:/logs
|
||||
- /srv/project/alist/logs/api-admin/app:/logs
|
||||
- /srv/project/alist/uploads:/srv/project/alist/uploads
|
||||
|
||||
environment:
|
||||
@@ -27,7 +27,7 @@ services:
|
||||
-Duser.timezone=Asia/Seoul
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -fsS http://localhost:8106/actuator/health || exit 1"]
|
||||
test: ["CMD-SHELL", "curl -fsS http://localhost:8111/actuator/health || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 10
|
||||
@@ -0,0 +1,40 @@
|
||||
services:
|
||||
app:
|
||||
container_name: alist-api-front
|
||||
image: registry.pjt.kr/alist/api-front:${IMAGE_TAG}
|
||||
restart: always
|
||||
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
ports:
|
||||
- "127.0.0.1:8112:8112"
|
||||
|
||||
env_file:
|
||||
- /srv/project/alist/env/api-front/.env
|
||||
|
||||
volumes:
|
||||
- /srv/project/alist/logs/api-front/app:/logs
|
||||
- /srv/project/alist/uploads:/srv/project/alist/uploads
|
||||
|
||||
environment:
|
||||
JAVA_OPTS: >-
|
||||
-Dspring.profiles.active=${SPRING_PROFILE}
|
||||
-Xms${JVM_XMS}
|
||||
-Xmx${JVM_XMX}
|
||||
-XX:MaxMetaspaceSize=${JVM_META}
|
||||
-Dfile.encoding=UTF-8
|
||||
-Duser.timezone=Asia/Seoul
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -fsS http://localhost:8112/actuator/health || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
Reference in New Issue
Block a user