seedling/source/global/.devcontainer/docker-compose.yml

42 lines
808 B
YAML
Raw Normal View History

2023-12-28 21:58:08 +00:00
version: "3"
volumes:
node_modules:
pnpm-store:
networks:
net:
name: $(appName)_net
driver: bridge
ipam:
config:
- subnet: 10.2.0.0/24
gateway: 10.2.0.1
services:
seedling:
build:
context: .
container_name: $(appName)
volumes:
- ../:/home/project/$(appName)
- node_modules:/home/project/seedling/node_modules
- pnpm-store:/home/project/seedling/.pnpm-store
command: sleep infinity
networks:
net:
ipv4_address: 10.2.0.2
selenium:
image: seleniarm/standalone-chromium:114.0
container_name: $(appName)-selenium
shm_size: 2gb
environment:
- SE_VNC_NO_PASSWORD=1
ports:
- 7900:7900
- 5900:5900
- 4444:4444
networks:
net:
ipv4_address: 10.2.0.4