mirror of
https://github.com/marcusDenslow/terminalShop.git
synced 2026-10-25 02:52:20 +02:00
25 lines
426 B
YAML
25 lines
426 B
YAML
services:
|
|
api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.api
|
|
restart: unless-stopped
|
|
env_file: .env.staging
|
|
volumes:
|
|
- ./data-staging:/data
|
|
ports:
|
|
- "8081:8080"
|
|
|
|
ssh:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.ssh
|
|
restart: unless-stopped
|
|
env_file: .env.staging
|
|
ports:
|
|
- "2222:22"
|
|
volumes:
|
|
- ./.ssh:/root/.ssh
|
|
depends_on:
|
|
- api
|