Skip to content
Snippets Groups Projects
Verified Commit 4ade8a75 authored by Eunhak Lee's avatar Eunhak Lee
Browse files

chore: remove unnecessary docker(legacy) files

parent 58944490
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,3 @@ def be():
output = output.decode()
return output
services:
frontend-dropper:
image: git.ajou.ac.kr:5050/meanspec/meanspec-frontend:latest
restart: "no"
volumes:
- ./frontend:/workdir
- ./frontend-dropper.sh:/entrypoint.sh
command: /entrypoint.sh
nginx:
image: return0927/nginx:1.19.3-hakase
environment:
TZ: Asia/Seoul
LANG: en_US.UTF-8
LC_ALL: en_US.UTF-8
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/include.d:/etc/nginx/include.d
- ./nginx/.htpasswd:/etc/nginx/.htpasswd
- ./nginx/mime.types:/etc/nginx/mime.types
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/log/nginx:/var/log/nginx
- ./frontend:/var/www/html/:r
restart: always
ports:
- 50080:80
depends_on:
- backend
backend:
image: git.ajou.ac.kr:5050/meanspec/meanspec-backend:latest
restart: unless-stopped
environment:
TZ: Asia/Seoul
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
env_file: .env
deploy:
mode: replicated
replicas: 1
postgres:
image: docker.io/library/postgres:17-alpine
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d meanspec -U meanspec"]
start_period: 20s
interval: 30s
retries: 5
timeout: 5s
volumes:
- ./database:/var/lib/postgresql/data
- ./init/sql/init.sql:/docker-entrypoint-initdb.d/init.sql
- ./init/sql/grant.sql:/always-initdb.d/grant.sql
env_file: .env
environment:
TZ: Asia/Seoul
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
POSTGRES_PASSWORD: ${DB_PASSWORD:-foopassword123}
POSTGRES_USER: ${DB_USER:-meanspec}
POSTGRES_DB: ${DB_NAME:-meanspec}
redis:
image: redis:7.4.1-alpine
restart: unless-stopped
command: redis-server /usr/local/etc/redis/redis.conf
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf:r
- ./redis/data:/data
environment:
TZ: Asia/Seoul
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
mailing-daemon:
image: git.ajou.ac.kr:5050/meanspec/meanspec-mailing-daemon:latest
env_file: .env
restart: unless-stopped
deploy:
mode: replicated
replicas: 6
hwinfo-daemon:
image: git.ajou.ac.kr:5050/meanspec/meanspec-hwinfo-daemon:latest
env_file: .env
restart: unless-stopped
volumes:
- "./hwinfo/hacknote.json:/hacknote.json"
environment:
HWINFO_HACKNOTE_FILE: /hacknote.json
deploy:
mode: replicated
replicas: 6
cp -r /app/* /workdir
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment