seedling/.devcontainer/docker-compose.yml

42 lines
810 B
YAML
Raw Normal View History

2023-11-16 13:05:41 +01:00
version: "3"
volumes:
node_modules:
pnpm-store:
2023-12-28 21:58:08 +00:00
networks:
net:
name: seedling_net
driver: bridge
ipam:
config:
- subnet: 10.2.1.0/24
gateway: 10.2.1.1
2023-11-16 13:05:41 +01:00
services:
seedling:
build:
context: .
container_name: seedling
volumes:
2023-12-28 21:58:08 +00:00
- ../:/home/project/seedling:delegated
2023-11-16 13:05:41 +01:00
- node_modules:/home/project/seedling/node_modules
- pnpm-store:/home/project/seedling/.pnpm-store
2023-12-28 21:58:08 +00:00
command: sleep infinity
networks:
net:
ipv4_address: 10.2.1.2
selenium:
image: seleniarm/standalone-chromium:114.0
container_name: seedling-selenium
shm_size: 2gb
environment:
- SE_VNC_NO_PASSWORD=1
ports:
- 7900:7900
- 5900:5900
- 4444:4444
networks:
net:
ipv4_address: 10.2.1.4