]> git.openstreetmap.org Git - rails.git/blob - .devcontainer/compose.yaml
Localisation updates from https://translatewiki.net.
[rails.git] / .devcontainer / compose.yaml
1 name: "open_street_map"
2
3 services:
4   rails-app:
5     build:
6       context: ..
7       dockerfile: .devcontainer/Dockerfile
8
9     volumes:
10     - ../..:/workspaces:cached
11     - mise-cache:/home/vscode/.local/share/mise
12
13     # Overrides default command so things don't shut down after the process ends.
14     command: sleep infinity
15
16     # Uncomment the next line to use a non-root user for all processes.
17     # user: vscode
18
19     # Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
20     # (Adding the "ports" property to this file will not forward from a Codespace.)
21     depends_on:
22     - selenium-default
23     - selenium-de
24     - selenium-nolang
25     - postgres
26
27   selenium-default:
28     image: selenium/standalone-firefox
29     restart: unless-stopped
30
31   selenium-de:
32     image: selenium/standalone-firefox
33     restart: unless-stopped
34
35   selenium-nolang:
36     image: selenium/standalone-firefox
37     restart: unless-stopped
38
39   postgres:
40     image: postgres:16.1
41     restart: unless-stopped
42     networks:
43     - default
44     volumes:
45     - postgres-data:/var/lib/postgresql/data
46     environment:
47       POSTGRES_DB: openstreetmap
48       POSTGRES_USER: openstreetmap
49       POSTGRES_PASSWORD: openstreetmap
50
51 volumes:
52   postgres-data:
53   mise-cache: