1
- version : ' 2.3'
2
-
3
1
x-volumes :
4
2
&default-volumes
5
3
# Define all volumes you would like to have real-time mounted into the docker containers
@@ -9,7 +7,7 @@ x-volumes:
9
7
x-environment :
10
8
&default-environment
11
9
# Route that should be used locally, if you are using pygmy, this route *must* end with .docker.amazee.io
12
- LAGOON_ROUTE : &default-url http://${COMPOSE_PROJECT_NAME:-ruby}.docker.amazee.io
10
+ LAGOON_ROUTE : &default-url http://${COMPOSE_PROJECT_NAME:-ruby-on-rails }.docker.amazee.io
13
11
# Uncomment if you like to have the system behave like in production
14
12
# LAGOON_ENVIRONMENT_TYPE: production
15
13
# Uncomment to enable xdebug and then restart via `docker-compose up -d`
@@ -21,8 +19,6 @@ x-user:
21
19
user : ' 1000'
22
20
23
21
volumes :
24
- files :
25
- {}
26
22
db :
27
23
{}
28
24
@@ -37,7 +33,7 @@ services:
37
33
context : .
38
34
dockerfile : ./lagoon/ruby.dockerfile
39
35
labels :
40
- lagoon.type : node
36
+ lagoon.type : basic
41
37
<< : *default-volumes
42
38
environment :
43
39
<< : *default-environment # loads the defined environment variables from the top
@@ -57,18 +53,17 @@ services:
57
53
- ruby
58
54
environment :
59
55
<< : *default-environment # loads the defined environment variables from the top
60
- LAGOON_LOCALDEV_URL : ruby.docker.amazee.io
56
+ LAGOON_LOCALDEV_URL : ruby-on-rails .docker.amazee.io
61
57
networks :
62
58
- amazeeio-network
63
59
- default
64
60
65
61
postgres :
66
- image : uselagoon/postgres-15-drupal :latest
62
+ image : uselagoon/postgres-15:latest
67
63
labels :
68
64
lagoon.type : postgres
69
- lando.type : postgres-drupal
70
65
ports :
71
- - " 5432" # exposes the port 5432 with a random local port, find it with `docker- compose port postgres 5432`
66
+ - " 5432" # exposes the port 5432 with a random local port, find it with `docker compose port postgres 5432`
72
67
<< : *default-user # uses the defined user from top
73
68
environment :
74
69
<< : *default-environment
0 commit comments