-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (30 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Execute this command in your shell if you want to run this docker compose file on ARM architectures
# export DOCKER_DEFAULT_PLATFORM=linux/amd64
version: "3.8"
services:
database:
image: postgres:15
# Uncomment this option if you want to run this docker compose file on ARM architectures
# platform: linux/amd64
environment:
POSTGRES_DB: postgres
POSTGRES_USER: username
POSTGRES_PASSWORD: password
networks:
- syson
app:
image: "${IMAGE_TAG:-eclipsesyson/syson:v2026.1.0}"
ports:
- "8080:8080"
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://database/postgres
SPRING_DATASOURCE_USERNAME: username
SPRING_DATASOURCE_PASSWORD: password
SIRIUS_COMPONENTS_CORS_ALLOWEDORIGINPATTERNS: "*"
SERVER_PORT: 8080
depends_on:
- database
networks:
- syson
networks:
syson: