-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 868 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (28 loc) · 868 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
services:
app:
image: ${DOCKER_IMAGE:-ourshoppinglist/our-shopping-list}:latest
restart: always
ports:
- '8080:8080'
environment:
# Default values below (See README for more)
VITE_APP_I18N_LOCALE: en
VITE_APP_I18N_FALLBACK_LOCALE: en
VITE_APP_I18N_FORCE_LOCALE: 0
VITE_APP_SINGLEBOARD_MODE: 0
# You may want to use a .env file instead
#env_file:
# - .env
#volumes:
# - ./robots.txt:/app/robots.txt:ro # See README
depends_on:
- mongodb
mongodb:
# *Caution*: Before 2024-06-11 the version used was mongo:4. You *cannot* upgrade directly to mongo:7.
# Use the automated script update-mongo7.sh to upgrade your stack to mongo:5, mongo:6 then mongo:7
# Refer to README.md for more information
image: mongo:7
volumes:
- dbdata:/data/db
volumes:
dbdata: