docker
This commit is contained in:
35
docker-compose.yml
Normal file
35
docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
gia-gve-certificates:
|
||||
build: .
|
||||
image: gia-gve-certificates
|
||||
container_name: gia-gve-certificates
|
||||
# ports:
|
||||
# - "3000:3000"
|
||||
networks:
|
||||
- applications
|
||||
volumes:
|
||||
- /docker/data:/app/data
|
||||
environment:
|
||||
- TZ=Asia/Yekaterinburg
|
||||
- GIT_REPO_URL=https://git.dadehard.ru/kalugin66/gia-gve-certificates.git
|
||||
- SESSION_SECRET=change_me_to_a_random_string
|
||||
- LDAP_AUTH_URL=https://ldap.itschool25.ru/api/auth
|
||||
- PORT=3000
|
||||
- USER_1_LOGIN=admin
|
||||
- USER_1_PASSWORD=changeme
|
||||
- USER_1_NAME=Administrator
|
||||
- USER_1_EMAIL=kalugin66@ya.ru
|
||||
- USER_1_ROLE=admin
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "http://localhost:3000"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
networks:
|
||||
applications:
|
||||
external: true
|
||||
# docker-compose up -d --build
|
||||
|
||||
Reference in New Issue
Block a user