diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-29 23:37:54 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-30 00:26:47 +0900 |
| commit | 6d35f66e3502b61c0386f719d3a5f3caf0e109b6 (patch) | |
| tree | 52df261d453e89619e1b1ad5f9918607136ea7f8 /compose.yaml | |
| parent | b7e2d4571b61f20a9f4a288f41ba0a30e488eda4 (diff) | |
| download | iosdc-japan-2025-albatross-6d35f66e3502b61c0386f719d3a5f3caf0e109b6.tar.gz iosdc-japan-2025-albatross-6d35f66e3502b61c0386f719d3a5f3caf0e109b6.tar.zst iosdc-japan-2025-albatross-6d35f66e3502b61c0386f719d3a5f3caf0e109b6.zip | |
feat: separate Makefile and compose.yaml for local/prod envs
Diffstat (limited to 'compose.yaml')
| -rw-r--r-- | compose.yaml | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/compose.yaml b/compose.yaml deleted file mode 100644 index a98b918..0000000 --- a/compose.yaml +++ /dev/null @@ -1,92 +0,0 @@ -services: - reverse-proxy: - image: nginx:1.27 - ports: - - '127.0.0.1:8002:80' - volumes: - - ./nginx.conf:/etc/nginx/nginx.conf:ro - depends_on: - - api-server - - app-server - restart: always - - api-server: - build: - context: ./backend - expose: - - 80 - depends_on: - db: - condition: service_healthy - environment: - ALBATROSS_DB_HOST: db - ALBATROSS_DB_PORT: 5432 - ALBATROSS_DB_USER: postgres - ALBATROSS_DB_PASSWORD: eepei5reesoo0ov2ceelahd4Emi0au8ahJa6oochohheiquahweihoovahsee1oo - ALBATROSS_DB_NAME: albatross - restart: always - - api-server-only: - build: - context: ./backend - ports: - - '127.0.0.1:8002:80' - depends_on: - db: - condition: service_healthy - environment: - ALBATROSS_DB_HOST: db - ALBATROSS_DB_PORT: 5432 - ALBATROSS_DB_USER: postgres - ALBATROSS_DB_PASSWORD: eepei5reesoo0ov2ceelahd4Emi0au8ahJa6oochohheiquahweihoovahsee1oo - ALBATROSS_DB_NAME: albatross - restart: always - profiles: - - api-server-only - - app-server: - build: - context: ./frontend - args: - ALBATROSS_HOST: localhost - expose: - - 80 - restart: always - - db: - image: postgres:16.3 - environment: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: eepei5reesoo0ov2ceelahd4Emi0au8ahJa6oochohheiquahweihoovahsee1oo - POSTGRES_DB: albatross - expose: - - 5432 - healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres"] - interval: 10s - timeout: 5s - retries: 5 - volumes: - - db-data:/var/lib/postgresql/data - restart: always - - worker: - build: - context: ./worker - expose: - - 80 - restart: always - - tools: - build: - context: ./backend - dockerfile: ./Dockerfile.tools - environment: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: eepei5reesoo0ov2ceelahd4Emi0au8ahJa6oochohheiquahweihoovahsee1oo - POSTGRES_DB: albatross - profiles: - - tools - -volumes: - db-data: |
