Skip to content

Commit

Permalink
chore: docker compose updated
Browse files Browse the repository at this point in the history
  • Loading branch information
owalacesilva committed Jun 30, 2023
1 parent 39a2fb4 commit 27be94d
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
- ~/.ssh:/home/vscode/.ssh
environment:
- RAILS_ENV=development
- RAILS_MAX_THREADS=5
- WEB_CONCURRENCY=1
- HISTFILE=./log/.bash_history
- EDITOR=vi
Expand All @@ -36,28 +37,19 @@ services:
<<: *backend
command: /bin/bash
ports:
- '3001:3000'
- '3003:3002'
- '7433:7433'

rails:
<<: *backend
command: bundle exec rails server -b 0.0.0.0
ports:
- '3005:3000'
- '9876:9876'
- '3000:3000'

phpmyadmin:
image: phpmyadmin
restart: always
ports:
- 8080:80
links:
- db
- mariadb
depends_on:
- db
- mariadb

db:
mariadb:
image: mariadb:10.3
restart: always
environment:
Expand Down

0 comments on commit 27be94d

Please sign in to comment.