2025-10-29 19:16:54 -07:00
|
|
|
name: "openneo_impress_items"
|
2023-08-29 11:39:12 -07:00
|
|
|
|
|
|
|
|
services:
|
2025-10-29 19:16:54 -07:00
|
|
|
rails-app:
|
2023-08-29 11:39:12 -07:00
|
|
|
build:
|
|
|
|
|
context: ..
|
|
|
|
|
dockerfile: .devcontainer/Dockerfile
|
|
|
|
|
|
|
|
|
|
volumes:
|
2025-10-29 19:16:54 -07:00
|
|
|
- ../..:/workspaces:cached
|
2023-08-29 11:39:12 -07:00
|
|
|
|
|
|
|
|
# Overrides default command so things don't shut down after the process ends.
|
|
|
|
|
command: sleep infinity
|
|
|
|
|
|
2025-10-29 19:16:54 -07:00
|
|
|
# Uncomment the next line to use a non-root user for all processes.
|
|
|
|
|
# user: vscode
|
2023-08-29 11:39:12 -07:00
|
|
|
|
|
|
|
|
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
|
|
|
|
|
# (Adding the "ports" property to this file will not forward from a Codespace.)
|
2025-10-29 19:16:54 -07:00
|
|
|
depends_on:
|
|
|
|
|
- mysql
|
2023-08-29 11:39:12 -07:00
|
|
|
|
2025-10-29 19:16:54 -07:00
|
|
|
mysql:
|
|
|
|
|
image: mariadb:10.6
|
2023-08-29 11:39:12 -07:00
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
2025-10-29 19:16:54 -07:00
|
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: 'true'
|
|
|
|
|
volumes:
|
|
|
|
|
- mysql-data:/var/lib/mysql
|
|
|
|
|
networks:
|
|
|
|
|
- default
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
mysql-data:
|