-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
97 lines (90 loc) · 2.51 KB
/
compose.yaml
File metadata and controls
97 lines (90 loc) · 2.51 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
services:
api:
build:
context: .
dockerfile: Dockerfile
container_name: aurioncal-api
environment:
ASPNETCORE_ENVIRONMENT: Production
ASPNETCORE_URLS: http://0.0.0.0:8080
VIRTUAL_HOST: ${VIRTUAL_HOST_API}
VIRTUAL_PORT: '8080'
TZ: 'Europe/Paris'
ConnectionStrings__ApplicationDbContext: Host=postgres;Database=aurioncal;Username=postgres;Password=postgres;
ApiSettings__BaseUrl: http://mauria:8080
ApiSettings__Cors: ${API_CORS}
ApiSettings__AppUrl: ${APP_URL}
DOPPLER_TOKEN: ${DOPPLER_TOKEN}
Jwt__ExpireHours: '3'
EmailSender__SmtpHost: ${SMTP_HOST}
EmailSender__SmtpPort: ${SMTP_PORT}
EmailSender__SecureSocketOptions: ${SMTP_SECURE_SOCKET_OPTIONS}
EmailSender__SmtpCredential__UserName: ${SMTP_USERNAME}
EmailSender__SmtpCredential__Password: ${SMTP_PASSWORD}
EmailSender__Sender__Name: ${SMTP_SENDER_NAME}
EmailSender__Sender__Email: ${SMTP_SENDER_EMAIL}
networks:
- external
- mauria_internal
depends_on:
postgres:
condition: service_healthy
mauria:
condition: service_started
restart: unless-stopped
webapp:
build:
context: https://github.com/AngryKiller/AurionCal-Front.git
container_name: aurioncal-webapp
restart: unless-stopped
environment:
VIRTUAL_HOST: ${VIRTUAL_HOST_WEBSITE}
TZ: 'Europe/Paris'
VITE_API_BASE_URL: ${VITE_API_BASE_URL}
networks:
- external
depends_on:
api:
condition: service_started
postgres:
image: postgres:16
container_name: aurioncal-postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: aurioncal
TZ: 'Europe/Paris'
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- mauria_internal
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 5s
timeout: 3s
retries: 10
mauria:
build:
context: https://github.com/MauriaApp/API-v2.git
container_name: mauria
restart: unless-stopped
networks:
- mauria_internal
environment:
port: '8080'
host: '0.0.0.0'
SUPABASE_URL: 'http://supabase'
SUPABASE_KEY: '123456'
TZ: 'Europe/Paris'
networks:
external:
name: ${proxy_network}
external: true
mauria_internal:
name: mauria_internal
external: false
volumes:
pgdata:
name: pgdata
external: false